package edu.aynu.service;

public interface EmailService {

    /**
     * 发送邮件
     * 存储验证码
     * @param email
     * @param code
     */
    Boolean sendEmail(String email,String code);

    /**
     * 取出验证码
     * @param email
     * @return
     */
    Object getCodeRedis(String email);
}
